<template>
  <n-dropdown :on-clickoutside="onClickoutside" @select="handleSelect" :x="position.x" :y="position.y"
    :options="dropDownOptions" :show="dropDownShow">
  </n-dropdown>
  <div class="w-full h-full">
    <slot />
  </div>
</template>

<script setup lang="ts">
const { dropDownOptions, dropDownShow, position } = useDropDown();
const { onClickoutside, handleSelect } = useDropDown();
</script>
<style></style>
